﻿CREATE TABLE [dbo].[Producto] (
    [IdProducto]   INT           IDENTITY (1, 1) NOT NULL,
    [Codigo]       VARCHAR (24)  NULL,
    [Descripcion]  VARCHAR (128) NULL,
    [IdParteFinal] INT           NULL,
    CONSTRAINT [PK_Producto] PRIMARY KEY CLUSTERED ([IdProducto] ASC),
    CONSTRAINT [FK_Producto_Parte] FOREIGN KEY ([IdParteFinal]) REFERENCES [dbo].[Parte] ([IdParte])
);

